package core
{
/**
 * @author daichangxin
 */
public class RadioOnCommand implements ICommand
{
	private var _radio:Radio;
	
	public function RadioOnCommand(radio:Radio)
	{
		_radio = radio;
	}
	
	public function execute() : void
	{
		_radio.on();
	}

	public function undo() : void
	{
		_radio.off();
	}
}
}
